package com.admin.entity;

import com.admin.sys.base.module.extend.entity.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.admin.sys.base.annotation.ExcelField;
import java.util.Date;
import java.util.List;

/**
*【入库信息】实体对象
*/

@TableName("storage")
public class Storage extends BaseEntity {
    /*** 主键id */
    private String id;
    /*** 供应商名称 */
    private String supplierId;
    /*** 物品名称 */
    private String goodsId;
    /*** 入库数量 */
    private Integer number;
    /*** 入库时间 */
    private Date storageTime;
    /*** 入库时间 范围查询*/
    @TableField(exist = false)
    private List<String> storageTimeRange;
    /*** 操作人 */
    private String userId;
    /*** 入库备注 */
    private String remarks;
    public String getId() {
        return this.id;
    }
    public void setId(String id) {
        this.id = id;
    }
    @ExcelField(title="供应商名称",align=1, sort=1)
    public String getSupplierId() {
        return this.supplierId;
    }
    public void setSupplierId(String supplierId) {
        this.supplierId = supplierId;
    }
    @ExcelField(title="物品名称",align=1, sort=2)
    public String getGoodsId() {
        return this.goodsId;
    }
    public void setGoodsId(String goodsId) {
        this.goodsId = goodsId;
    }
    @ExcelField(title="入库数量",align=1, sort=3)
    public Integer getNumber() {
        return this.number;
    }
    public void setNumber(Integer number) {
        this.number = number;
    }
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @ExcelField(pattern = "yyyy-MM-dd HH:mm:ss",title="入库时间",align=1, sort=4)
    public Date getStorageTime() {
        return this.storageTime;
    }
    public void setStorageTime(Date storageTime) {
        this.storageTime = storageTime;
    }
    public List<String> getStorageTimeRange(){
        return this.storageTimeRange;
    }
    public void setStorageTimeRange(List<String> storageTimeRange){
        this.storageTimeRange = storageTimeRange;
    }
    @ExcelField(title="操作人",align=1, sort=5)
    public String getUserId() {
        return this.userId;
    }
    public void setUserId(String userId) {
        this.userId = userId;
    }
    @ExcelField(title="入库备注",align=1, sort=6)
    public String getRemarks() {
        return this.remarks;
    }
    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }
}